<?php
namespace App\Http\Controllers\Moments;
use App\Http\Controllers\Controller;
use App\Service\User\MomentsService;

class MomentsController extends Controller{
    /**
     * 发送动态
     */
    public function send(){
        MomentsService::create();
    }
    /**
     * 删除动态
     */
    public function del(){
        MomentsService::delByMUID();
    }
    /**
     * 获取动态列表
     */
    public function gets(){
        MomentsService::getsByCUID();
    }
    /**
     * 获取朋友圈
     */
    public function friends(){
        MomentsService::getFriends();
    }
    /**
     * 获取最热的前10
     */
    public function friendsTop10(){
        MomentsService::getHotTop10();
    }
    /**
     * 获取最热的用户及星座
     */
    public function friendsHot(){
        MomentsService::getIndexHot();
    }
}